package org.tote.dao;

import java.util.Date;
import java.util.List;

import org.tote.model.Audit;
import org.tote.model.AuditOperationType;


public interface AuditDao extends BasicCrudDao<Audit, Long>{
	
	public long getAuditCount(AuditOperationType type, Date beginDate, Date endDate, String userName);
	
	public List<Audit> getAuditRecords(AuditOperationType type, Date beginDate, Date endDate, String userName, int page, int limit);
}
